package com.czmh.etc.onlinepubsys.entity.mingchuang;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter@Getter
@TableName("mingchuang_applyinfo")
public class ApplyInfo {
    @TableId
    private String id;

    @TableField("user_id")
    private String userId;

    @TableField("cs_user_no")
    private String csUserNo;

    @TableField("username")
    private String username;

    @TableField("ownerType")
    private Integer ownerType;

    @TableField("certifiType")
    private Integer certifiType;

    @TableField("certifiNo")
    private String certifiNo;

    @TableField("agentIdNum")
    private String agentIdNum; //经办人证件号

    @TableField("phone")
    private String phone;

    @TableField("department")
    private String department;

    @TableField("agentFrontImg")
    private String agentFrontImg;

    @TableField("agentBackImg")
    private String agentBackImg;

    @TableField("certImg")
    private String certImg;

    @TableField("enterpriseName")
    private String enterpriseName;

    @TableField("enterpriseNo")
    private String enterpriseNo;

    @TableField("vehiclePlate")
    private String vehiclePlate;

    @TableField("vehicleColor")
    private Integer vehicleColor;

    @TableField("vehicleType")
    private Integer vehicleType;

    @TableField("vehCertFrontImg")
    private String vehCertFrontImg;

    @TableField("vehCertbackImg")
    private String vehCertbackImg;

    @TableField("orderNo")
    private String orderNo;

    @TableField("bankCardNo")
    private String bankCardNo;

    @TableField("bankSn")
    private String bankSn;

    @TableField("bankCardType")
    private Integer bankCardType;//银行卡类型：0未知，1储蓄卡，2信用卡, 3微信签约

    @TableField("bankSignTime")
    private Date bankSignTime;

    @TableField("state")
    private Integer state; //状态 0-已付款 1-已注册 2-设备已激活

    @TableField("jsonData")
    private String jsonData;//用于存放额外的信息，例如阿里云图片
}
